package cn.innosmart.aq.bean;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * Created by David on 2015/9/16.
 */
public class GroupBean {

    private String group;
    private String groupId;

    public GroupBean(JSONObject jsonObject) {
        try {
            this.group = jsonObject.getString("group");
        } catch (JSONException e) {
            e.printStackTrace();
        }
        try {
            this.groupId = jsonObject.getString("id");
        } catch (JSONException e) {
            e.printStackTrace();
        }
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }
}
